function PanDuanFn(){
	this.xingming = document.getElementById('xingming');
	this.dianhua = document.getElementById('dianhua');
}
PanDuanFn.prototype.init = function(){
	var that = this;
	this.xingming.onblur = function(){
		if (!/[\u4e00-\u9fa5]/.test(this.value)) {
			alert('请输入中文姓名！');
		}else{
			alert("输入正确！");
		}
	}
	this.dianhua.onblur = function(){
		if (!/^1[35789][0-9]{9}$/.test(this.value)) {
		console.log(this);
			alert('请输入正确手机号！');
		}else{
			alert("输入正确！");
		}
	}
}
var mmp = new PanDuanFn();
	mmp.init();